couleur : gris gris / 255 coef = (3 / total) * (gris / 255) r : 130 0.50981 0.92858 g : 220 0.86275 1.57142 b : 70 0.27451 0.5 total : 1.64707 3